﻿<UserControl x:Class="Apps.WorkPlugin.MonitorView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Grid x:Name="LayoutRoot" Background="White" Height="24">
        <ComboBox x:Name="combobox"
                  DisplayMemberPath="Title"
                  ItemsSource="{Binding}"
                  SelectionChanged="combobox_SelectionChanged"/>
        <TextBlock Text="{Binding Items.Count, ElementName=combobox}"
                   HorizontalAlignment="Center"
                   VerticalAlignment="Center"/>
    </Grid>
</UserControl>